using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

using Crainiate.Data.Persistence.Providers;
using Crainiate.Data.Persistence.Providers.SqlServer;

namespace Crainiate.Data.Persistence.Testing
{
    [Serializable]
    public class Note: Table 
    {
        private int _id;
        private string _description;
        private Stream _stream;

        public Note()
        {

        }

        public Note(Command command): base(command)
        {

        }

        [PrimaryKey]
        public int Id
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
            }
        }

        [Column]
        public string Description
        {
            get 
            { 
                return _description; 
            }
            set 
            { 
                _description = value; 
            }
        }

        [Column]
        public Stream Stream
        {
            get 
            { 
                return _stream; 
            }
            set 
            {
                _stream = value; 
            }
        }
    }
}
